
import http from '../utils/http'
/* 
*商品相关接口
*/
//商品详情
export function goodsDetail(params) {
	return http.get('goodsDetail', params)
}
//添加购物车
export function addCartApi(params) {
	return http.post('addCart', params)
}
//收藏商品
export function saveUserCollect(params) {
	return http.post('saveUserCollect', params)
}
//获取分类
export function categoryList(params) {
	return http.get('categoryList', params)
}
//商品列表
export function goodList(params) {
	return http.get('goodList', params)
}
//推荐 位 查看更多商品
export function recommendList(params) {
	return http.get('recommendList', params)
}
